<!--  -->
<template>
  <div class="WORKMAIN">
    <div class="title">
      <img :src="item.imgUrl" alt />
      <span>{{item.title}}</span>
    </div>
    <div>
      <el-empty description="暂无数据"></el-empty>
    </div>
  </div>
</template>

<script>
export default {
  name: "WORKMAIN",
  props: ["item", "index"],

  data() {
    return {};
  },
  //生命周期 - 创建完成（访问当前this实例）
  created() {},
  //生命周期 - 挂载完成（访问DOM元素）
  mounted() {},
  //事件方法
  methods: {}
};
</script>
<style scoped lang="scss">
/* @import url(); 引入css类 */
.WORKMAIN {
  width: 49.4%;
  // height: 265px;
  background: #fff;
  border-radius: 5px;
  margin: 3px;
  > div {
    width: 100%;
  }
  > .title {
    width: 97%;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 3px;
    margin: 0 auto;
    color: #8482f8;
    span {
      margin-left: 10px;
    }
    border-bottom: 1px solid #f3f3f3;
  }
  img {
    width: 35px;
    height: 35px;
  }
}
</style>